import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import path from 'path'

function resolvePath(paths:any) {
    return path.resolve(__dirname, paths)
}

export default defineConfig({
  base: './',
  plugins: [vue()],
  resolve: {
    alias: {
        '@': resolvePath('src')
    },
  },
})
